#ifndef TIME_H
#define TIME_H

class Time
{

friend ostream& operator<<(ostream& out, Time& clock );
friend istream& operator>>(istream& in, Time& clock );
 private:
  int m_period;
  double m_minutes;
  double m_seconds;
 public:
  Time();
  Time(int, double, double);	
  int getPeriod();
  double getMin();
  double getSec();
  bool checkTimeInput();
  Time operator+(Time& Time2 ) const;
  Time operator-(Time& Time2 ) const;
  void reverseTime();
};

#endif
